/**
 * The Prophecy
 * java based lightweight texas hold'em poker software base
 * http://code.google.com/p/theprophecy/
 */

package org.poker.prophecy.math;

import java.util.Vector;

/**
 * @author bg
 */

public class Menge{
    
    Vector<Object> elemente;
    
    public Menge(){
        elemente = new Vector<Object>();
    }
    
    public void addElement(Object object){
        this.elemente.addElement(object);
    }
    
    public int size(){
        return elemente.size();
    }
    
    public void makeLeereMenge(){
        elemente.removeAllElements();
    }
    
    public void insertElementAt(Object obj, int index){
        elemente.insertElementAt(obj,index);
    }
    
    public Object elementAt(int index){
        return elemente.elementAt(index);
    }
    
    public String toString(){
        return elemente.toString();
    }
}